as level further maths solving cubic equations